<div class="block block-{{ data.contentModel }}" id="{{ data.getId() }}">
    {% if data.name is defined AND data.displayTitle %}<h3 class="block-title">{{ data.name }}</h3>{% endif %}
    {% if termList %}
        <ul class="clearfix">
            {% for item in termList %}
                <li>
                    <a href="{{ url(['for':'term','contentModel':item.contentModel,'id':item.getId(),'page':1]) }}">{{ item.name }}</a>
                </li>
            {% endfor %}
        </ul>
    {% endif %}
</div>